import Vue from 'vue'
import Vuex from 'vuex'

import home from './modules/home';
import user from './modules/user';
import search from './modules/search';
import cart from './modules/cart';

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    home,
    user,
    search,
    cart
  }
})

export default store